import instance from '@/axios/index'


// 订单列表
export const getOrderList = async() => {
    const res= await instance.get('/Order/returnOrder')
    return res
}


//退款详情
export const getRefundDetail = async(id:number) => {
    const res= await instance.get(`/Order/returnDetail?id=${id}`)
    return res.data.data
}

//退款修改
export const getRefundUpdate = async(data:any) => {
    const res= await instance.post('/Order/editReturnorder',data)
    console.log(res);
    
    return res
}